import { StyleSheet, TouchableOpacity, Text } from 'react-native';
import React, { Component } from 'react'
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import Home from './routes'

// const Stack = createNativeStackNavigator();


export default class Index extends Component {
  render() {
    return (
      <Home />
      // <Stack.Navigator initialRouteName='Home' headerMode="float">
			// 	<Stack.Screen name="Home" component={Home}
      //   options={
      //     {
      //       title: "首页",
      //       headerStyle: {
      //         backgroundColor: 'tomato'
      //       },
      //       headerRight: () => {
      //         return (
      //           <TouchableOpacity onPress={() => alert('Hello')}>
      //             <Text>hello</Text>
      //           </TouchableOpacity>
      //         )
      //       }
      //     }
      //   }
      //   >
			// 		{/* <SafeAreaView style={backgroundStyle}>
			// 			<StatusBar barStyle={isDarkMode ? 'light-content' : 'dark-content'} />
			// 			<News />
			// 		</SafeAreaView> */}
			// 	</Stack.Screen>
			// </Stack.Navigator>
    )
  }
}

const styles = StyleSheet.create({})
